<script type="text/javascript" src="<?php echo base_url(); ?>assets/lib/jwplayer/jwplayer.js"></script>
<script type="text/javascript">
	
	$(document).ready(function(){
						
	<?php if($profile['strVideoFileName']!=''): ?>					
		jwplayer("media").setup({
		flashplayer: "<?php echo base_url(); ?>assets/lib/jwplayer/player.swf",
		file: "<?php echo base_url().VIDEO_UPLOAD_DIR.$profile['strVideoFileName'] ?>",
		flashvars: 'ignoremeta=false',
		height: '315px',
		width:'560px',							
		controlbar: {position: 'over'},
		backcolor : '141414',
		frontcolor : 'bbb',
		lightcolor  : 'fff',
		<?php if($profile['strPicture']!=''): ?>			
			image	: "<?php echo base_url().IMAGE_UPLOAD_DIR.$profile['strPicture']; ?>"
		<?php else: ?>	
			image	: "<?php echo base_url(); ?>assets/img/video_bg.jpg"
		<?php endif; ?>
		});
	<?php endif; ?>
	
	});
</script>